package com.suneast.suneaststore.bean.homepage;

import java.util.List;

public class FilterBean {

    /**
     * id : 1210
     * name : 布艺帘
     * attributes :
     * parentid : 1194
     * thumb : http://img2.suneastzy.com/t4l44epK61p0E66E06iE466kem446l.jpeg
     * level : 2
     * targetcate : 0
     * type : 1
     * merchid : 0
     * filters : []
     */

    private int id;
    private String name;
    private String attributes;
    private int parentid;
    private String thumb;
    private int level;
    private int targetcate;
    private int type;
    private int merchid;
    private List<KeyValueBean> filters;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getTargetcate() {
        return targetcate;
    }

    public void setTargetcate(int targetcate) {
        this.targetcate = targetcate;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getMerchid() {
        return merchid;
    }

    public void setMerchid(int merchid) {
        this.merchid = merchid;
    }

    public List<KeyValueBean> getFilters() {
        return filters;
    }

    public void setFilters(List<KeyValueBean> filters) {
        this.filters = filters;
    }

    public static class KeyValueBean{

        /**
         * key : 229
         * value : 1222
         */

        private int key;
        private int value;

        public int getKey() {
            return key;
        }

        public void setKey(int key) {
            this.key = key;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }
    }
}
